package com.yonyou.openapi.base.auth.token;


import com.yonyou.openapi.base.response.OpenApiAccessToken;

/**
 * @author nishch
 * @description: 用于token缓存处理
 * @date 2022/8/12
 */
public interface OpenApiTokenCacheProvider {

    OpenApiAccessToken loadTokenFromCache();

    void saveTokenToCache(OpenApiAccessToken token);
}
